<script setup lang="ts">
import { defineOptions } from "vue";

defineOptions({
  name: "xt-avatar",
});

interface PropType {
  size?: number;
  src?: string;
}

withDefaults(defineProps<PropType>(), {
  size: 48,
});
</script>

<template>
  <el-avatar class="xt-avatar" :size="size" :src="src" />
</template>

<style lang="scss" scoped></style>
